AM_CPPFLAGS = \
	-I../include -I$(top_srcdir)/include \
	-I../common -I$(top_srcdir)/common \
	@LIBCERROR_CPPFLAGS@ \
	@LIBCLOCALE_CPPFLAGS@ \
	@LIBUNA_CPPFLAGS@ \
	@LIBCDIRECTORY_DLL_IMPORT@

TESTS = \
	test_library.sh

check_SCRIPTS = \
	test_library.sh \
	test_manpage.sh \
	test_runner.sh

EXTRA_DIST = \
	$(check_SCRIPTS)

check_PROGRAMS = \
	cdirectory_test_directory \
	cdirectory_test_directory_entry \
	cdirectory_test_error \
	cdirectory_test_support \
	cdirectory_test_system_string

cdirectory_test_directory_SOURCES = \
	cdirectory_test_directory.c \
	cdirectory_test_libcdirectory.h \
	cdirectory_test_libcerror.h \
	cdirectory_test_macros.h \
	cdirectory_test_memory.c cdirectory_test_memory.h \
	cdirectory_test_unused.h

cdirectory_test_directory_LDADD = \
	../libcdirectory/libcdirectory.la \
	@LIBCERROR_LIBADD@

cdirectory_test_directory_entry_SOURCES = \
	cdirectory_test_directory_entry.c \
	cdirectory_test_libcdirectory.h \
	cdirectory_test_libcerror.h \
	cdirectory_test_macros.h \
	cdirectory_test_memory.c cdirectory_test_memory.h \
	cdirectory_test_unused.h

cdirectory_test_directory_entry_LDADD = \
	../libcdirectory/libcdirectory.la \
	@LIBCERROR_LIBADD@

cdirectory_test_error_SOURCES = \
	cdirectory_test_error.c \
	cdirectory_test_libcdirectory.h \
	cdirectory_test_macros.h \
	cdirectory_test_unused.h

cdirectory_test_error_LDADD = \
	../libcdirectory/libcdirectory.la

cdirectory_test_support_SOURCES = \
	cdirectory_test_libcdirectory.h \
	cdirectory_test_libcerror.h \
	cdirectory_test_macros.h \
	cdirectory_test_support.c \
	cdirectory_test_unused.h

cdirectory_test_support_LDADD = \
	../libcdirectory/libcdirectory.la \
	@LIBCERROR_LIBADD@

cdirectory_test_system_string_SOURCES = \
	cdirectory_test_libcdirectory.h \
	cdirectory_test_libcerror.h \
	cdirectory_test_macros.h \
	cdirectory_test_system_string.c \
	cdirectory_test_unused.h

cdirectory_test_system_string_LDADD = \
	../libcdirectory/libcdirectory.la \
	@LIBCERROR_LIBADD@

DISTCLEANFILES = \
	Makefile \
	Makefile.in \
	TestFile

